/*!============================================================================
 * @file cvector.h 
 * @Synopsis Vector implemented in COO. 
 * @author DongKai
 * @version 1.0
 * @date 2010年02月06日 21时19分40秒 
 *  Company: Beijing Feynman Software Technology Co., Ltd.
 */

#ifndef __CVECTOR_H__
#define __CVECTOR_H__

#include "cobj_oriented.h"

struct  
    CLASS _clist_head { 
        MEMBER_FUNC_DECBEGIN(cvector) 
            elem_type* MEMBER_FUNC_DECLARE_CONST(cvector, find, elem_type) 
            elem_type* MEMBER_FUNC_DECLARE_CONST(cvector, begin) 
            elem_type* MEMBER_FUNC_DECLARE_CONST(cvector, end) 
            size_t MEMBER_FUNC_DECLARE_CONST(cvector, size) 
            MEMBER_FUNC_DECEND 
            struct _clist_head *next, *prev; 
    } clist_head;
#endif
